package com.charger.cooperation.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.charger.common.annotation.Excel;
import com.charger.common.core.domain.BaseEntity;

/**
 * 合约管理对象 contracts
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
@Data
public class Contracts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long contractId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String contractName;

    /** $column.columnComment */
    private String contractType;

    /** $column.columnComment */
    private String contractTerm;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String franchisees;

    /** $column.columnComment */
    private String company;

    /** $column.columnComment */
    private String franchiseePerson;

    /** $column.columnComment */
    private String companyPerson;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date signTime;

    /** $column.columnComment */
    private String signAddress;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal amount;

    /** $column.columnComment */
    private String payMethod;

    /** $column.columnComment */
    private Long  batchSize;

    /** $column.columnComment */
    private String proportion;

    /** $column.columnComment */
    private String contentRequire;

    /** $column.columnComment */
    private String conditions;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String annex;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;

    private Long invid;

    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setContractName(String contractName) 
    {
        this.contractName = contractName;
    }

    public String getContractName() 
    {
        return contractName;
    }
    public void setContractType(String contractType) 
    {
        this.contractType = contractType;
    }

    public String getContractType() 
    {
        return contractType;
    }
    public void setContractTerm(String contractTerm) 
    {
        this.contractTerm = contractTerm;
    }

    public String getContractTerm() 
    {
        return contractTerm;
    }
    public void setFranchisees(String franchisees) 
    {
        this.franchisees = franchisees;
    }

    public String getFranchisees() 
    {
        return franchisees;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setFranchiseePerson(String franchiseePerson) 
    {
        this.franchiseePerson = franchiseePerson;
    }

    public String getFranchiseePerson() 
    {
        return franchiseePerson;
    }
    public void setCompanyPerson(String companyPerson) 
    {
        this.companyPerson = companyPerson;
    }

    public String getCompanyPerson() 
    {
        return companyPerson;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }
    public void setSignAddress(String signAddress) 
    {
        this.signAddress = signAddress;
    }

    public String getSignAddress() 
    {
        return signAddress;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setPayMethod(String payMethod) 
    {
        this.payMethod = payMethod;
    }

    public String getPayMethod() 
    {
        return payMethod;
    }
    public void setBatchSize(Long  batchSize)
    {
        this. batchSize =  batchSize;
    }

    public Long getBatchSize()
    {
        return  batchSize;
    }
    public void setProportion(String proportion) 
    {
        this.proportion = proportion;
    }

    public String getProportion() 
    {
        return proportion;
    }
    public void setContentRequire(String contentRequire) 
    {
        this.contentRequire = contentRequire;
    }

    public String getContentRequire() 
    {
        return contentRequire;
    }
    public void setConditions(String conditions) 
    {
        this.conditions = conditions;
    }

    public String getConditions() 
    {
        return conditions;
    }
    public void setAnnex(String annex) 
    {
        this.annex = annex;
    }

    public String getAnnex() 
    {
        return annex;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractId", getContractId())
            .append("contractName", getContractName())
            .append("contractType", getContractType())
            .append("contractTerm", getContractTerm())
            .append("franchisees", getFranchisees())
            .append("company", getCompany())
            .append("franchiseePerson", getFranchiseePerson())
            .append("companyPerson", getCompanyPerson())
            .append("signTime", getSignTime())
            .append("signAddress", getSignAddress())
            .append("amount", getAmount())
            .append("payMethod", getPayMethod())
            .append("batchSize", getBatchSize())
            .append("proportion", getProportion())
            .append("contentRequire", getContentRequire())
            .append("conditions", getConditions())
            .append("remark", getRemark())
            .append("annex", getAnnex())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
